package com.obas.access.metadata.service.impl;

import java.util.List;

import com.ease.common.vo.MapParameter;
import com.ease.platform.access.service.impl.AbstractParameterizedBeanIbatisAccessServiceImpl;
import com.obas.access.metadata.service.AbstractMetaModelAccessService;
import com.obas.model.metadata.MetaModel;

public abstract class AbstractMetaModelAccessServiceImpl<T extends MetaModel> extends AbstractParameterizedBeanIbatisAccessServiceImpl<T> implements AbstractMetaModelAccessService<T> {

	public List<T> findEnabled() {
		MapParameter parameter = new MapParameter();
		parameter.put(MetaModel.Attribute_enabled, true);

		return this.find(parameter);

	}
}
